package com.ej.busi.domain;

import com.ej.common.annotation.Excel;
import com.ej.common.annotation.Excel.ColumnType;
import com.ej.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 学生补充信息表 ej_user_course
 * 
 * @author ej
 */
@Data
public class EjStudentExtend  implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 参数主键 */
    @Excel(name = "参数主键", cellType = ColumnType.NUMERIC)
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 家长姓名 */
    @Excel(name = "家长姓名")
    private String parentName;

    /** 出生年月 */
    @Excel(name = "出生年月")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date birthDate;

    /** 所在地区 */
    @Excel(name = "所在地区")
    private String address;


    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 入住阶段年级 */
    @Excel(name = "入住阶段年级")
    private Long gradeId;

    /** 现阶段年级 */
    @Excel(name = "现阶段年级")
    private Long currentGradeId;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createBy;
}
